#ifndef CONDITION_H_
#define CONDITION_H_

#include <pthread.h>

class Condition
{
private:
	pthread_cond_t  condition;
	pthread_mutex_t mutex;

public:
	Condition();
	virtual ~Condition();
	void wait();
	void signal();
	int mutexLock();
	int mutexUnlock();
};

#endif /* CONDITION_H_ */

